gh-148395: Fix a possible UAF in {LZMA,BZ2,_Zlib}Decompressor#148396
Merged
Conversation
emmatyping
approved these changes
Apr 11, 2026
emmatyping
left a comment
Member
There was a problem hiding this comment.
Thank you for fixing this!
{LZMA, BZ2, _Zlib}Decompressor{LZMA,BZ2,_Zlib}Decompressor
picnixz
reviewed
Apr 11, 2026
gpshead
approved these changes
Apr 13, 2026
|
Thanks @StanFromIreland for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
|
Thanks @StanFromIreland for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Apr 13, 2026
…pythonGH-148396) Fix dangling input pointer after `MemoryError` in _lzma/_bz2/_ZlibDecompressor.decompress (cherry picked from commit 8fc66ae) Co-authored-by: Stan Ulbrych <stan@python.org>
|
GH-148479 is a backport of this pull request to the 3.13 branch. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Apr 13, 2026
…pythonGH-148396) Fix dangling input pointer after `MemoryError` in _lzma/_bz2/_ZlibDecompressor.decompress (cherry picked from commit 8fc66ae) Co-authored-by: Stan Ulbrych <stan@python.org>
|
GH-148480 is a backport of this pull request to the 3.14 branch. |
This was referenced May 4, 2026
Closed
This was referenced May 11, 2026
Closed
This was referenced May 18, 2026
Closed
This was referenced May 25, 2026
This was referenced Jun 8, 2026
Closed
This was referenced Jun 15, 2026
Closed
This was referenced Jun 22, 2026
Closed
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
{LZMA,BZ2,_Zlib}Decompressor#148395